package com.surelution.cppei.weixin.gate

class SubscriberGascard {

    static constraints = {
		certificated nullable:true
		cardType nullable:true
		userid nullable:true
		certificateType nullable:true
		subscriber unique:'cardNo'
    }
	
	Subscriber subscriber
	
	String cardNo
	CertificateType certificateType
	String certificateNo
	Boolean certificated
	
	GasCardType cardType
	
	/**
	 * 卡验证通过后，卡验证接口返回一个userid，根据这个userid去查询加油卡信息
	 */
	String userid
}
